package com.cheyun.netsalev3.view

import android.os.Bundle
import com.cheyun.netsalev3.R
import com.cheyun.netsalev3.databinding.PassengerRegisterActivityBinding
import com.cheyun.netsalev3.utils.BaseActivity

class PassengerRegisterActivity : BaseActivity<PassengerRegisterActivityBinding>() {
    override fun initContentView(): Int {
        return R.layout.passenger_register_activity
    }

    override fun initView() {
        binding.leftBut.setOnClickListener {
            finish()
        }
    }

    override fun initData() {
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        if (savedInstanceState == null) {
            supportFragmentManager.beginTransaction()
                    .replace(R.id.container, HomeTaskFragment3.newInstance())
                    .commitNow()
        }
    }

}
